<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
$(document).ready(function (){
    alert("OK TEST");
});

var url="https://www.safe110.net/API/Login.ashx?PostType=key&loginName=普安县棚户改造&pwd=123456";
var re = new XMLHttpRequest();
            re.open('GET',url);
            re.onreadystatechange = function(){
                if(re.readyState === 4 && re.status === 200){
                    console.log(new Date() +"||||"+ re.responseText)
                }
            };
            re.send(null);


var timerWork = window.setInterval("sendMessage('https://www.safe110.net/API/API.ashx?PostType=GetEngineeringOrEquipmenttList&ForeignKey=4084f712-964c-4fdf-a60b-f3729d8f2ea8&UserName=普安县棚户改造')",60000);

var url = "https://www.safe110.net/API/API.ashx?PostType=GetEngineeringOrEquipmenttList&ForeignKey=4084f712-964c-4fdf-a60b-f3729d8f2ea8&UserName=普安县棚户改造";
function sendMessage(url){
var re = new XMLHttpRequest();
            re.open('GET',url);
            re.onreadystatechange = function(){
                if(re.readyState === 4 && re.status === 200){
                    console.log(new Date() +"||||"+ re.responseText)
                }
            };
            re.send(null);

sendMessage(url);
}
